import request from "@/utils/request";

// 查询计划接口列表
export function listPlanInter(query) {
  return request({
    url: "/dmsIms/inter/list/" + query,
    method: "get",
  });
}

export function addInterface(data) {
  return request({
    url: "/dmsIms/inter",
    method: "post",
    data: data,
  });
}

// 删除测试计划
export function delPlanInter(planId, ids) {
  return request({
    url: "/dmsIms/inter",
    method: "delete",
    params: { planId, ids },
  });
}
